package eu.jpereira.trainings.designpatterns.creational.abstractfactory.json;

import eu.jpereira.trainings.designpatterns.creational.abstractfactory.AbstractReportFactory;
import eu.jpereira.trainings.designpatterns.creational.abstractfactory.ReportBody;
import eu.jpereira.trainings.designpatterns.creational.abstractfactory.ReportFooter;
import eu.jpereira.trainings.designpatterns.creational.abstractfactory.ReportHeader;

public class JSONReportFactory extends AbstractReportFactory
{
    @Override
    public ReportHeader getHeader()
    {
        return new JSONReportHeader();
    }

    @Override
    public ReportBody getBody()
    {
        return new JSONReportBody();
    }

    @Override
    public ReportFooter getFooter()
    {
        return new JSONReportFooter();
    }

}
